package com.woniuxy.entitys;

import lombok.Data;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * tb_worker
 * @author 
 */
@Data
public class TbWorker implements Serializable {
    private Integer wid;

    private String uname;

    private Integer uid;

    private String idCard;

    private String gender;

    private String headImage;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    private Long salary;

    private Integer softdel;

    private String beiyong1;

    private String beiyong2;
    private TbUser tbUser;
    private TbRole tbRole;



    private TbUser user;
    private TbUserRole ur;
    private  TbRole r;

    private static final long serialVersionUID = 1L;

}